using Admin.Domain.Events;

namespace Admin.Domain.IEvents;

public interface IEventPublisher
{
    Task Publish<T>(T domainEvent) where T : IDomainEvent;
}